package com.tanhua.model.db;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/*
问卷实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_questionnaire")
public class Questionnaire implements Serializable {

    private String id; //问卷id
    private String name;//问卷名字
    private String cover;//封面
    private String level;//级别
    private Integer star;//星级
    @TableField(exist = false)
    private Object[] questions; //试题
    @TableField(exist = false)
    private Integer isLock = 1; //是否锁住 0解锁,1锁住
    @TableField(exist = false)
    private String reportId; //最新报告id


}
